#ifndef _BREAKBRICK_HH_
#define _BREAKBRICK_HH_

#include "BreakBrickPart.h"
#include "GameObject.h"

class BreakBrick:public GameObject
{
private:
	float timeBeforDie;
	list<BreakBrickPart*> _childBreaks;
	float tmpPosY;
public:
	BreakBrick(D3DXVECTOR2 position, EState state);
	virtual ~BreakBrick();
	virtual void Update(float  dt);
	virtual void Draw();
};
#endif